from pkg.voice import out

if __name__=='__main__':
    from pkg.driver import start_all
    from pkg.init import before_start
    before_start.mk_db()
    if not before_start.get_baidu_voice_tok():
        out.output('对不起，与百度对接失败，本系统即将退出，请检查您的网络是否畅通')
        exit(0)
    out.output('与百度对接成功');
    start_all.start()